package com.haiyu.manager.service;

import com.haiyu.manager.dto.BoardSearchDTO;
import com.haiyu.manager.pojo.Board;
import com.haiyu.manager.response.PageDataResult;

import java.util.Map;

public interface BoardService {

    PageDataResult getBoardList(BoardSearchDTO boardSearchDTO, Integer pageNum, Integer pageSize);
    Map<String,Object> updateBoard(Board board);
    Map<String, Object> delBoard(Integer boardId,Integer boardStatus);
    Board getBoardById(Integer boardId);
    Map<String, Object> recoverBoard(Integer boardId,Integer boardStatus);
}
